package com.jd.ymcc.service.impl;

import com.jd.ymcc.SearchDoc;
import com.jd.ymcc.repository.CourseEsRepository;
import com.jd.ymcc.service.ISearchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SearchServiceImpl implements ISearchService {
    @Autowired
    private CourseEsRepository courseEsRepository;
    @Override
    public void save(SearchDoc courseDoc) {
        courseEsRepository.save(courseDoc);
    }
}
